CREATE OR REPLACE FUNCTION f_sys_getid RETURN VARCHAR2 IS
    O_RESULT VARCHAR2(17);
BEGIN
    SELECT to_char(systimestamp, 'yyyymmddhh24missFF3')
    INTO   O_RESULT
    FROM   DUAL;
    
    RETURN(O_RESULT);
END f_sys_getid;
/
